package cn.iocoder.yudao.module.trade.convert.ordersafetycheckTemplate;

import cn.iocoder.yudao.framework.common.pojo.PageResult;
import cn.iocoder.yudao.module.trade.controller.admin.ordersafetychecktemplate.vo.OrderSafetyCheckTemplateRespVO;
import cn.iocoder.yudao.module.trade.dal.dataobject.ordersafetychecktemplate.OrderSafetyCheckTemplateDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface OrderSafetyCheckConvert {

    OrderSafetyCheckConvert INSTANCE = Mappers.getMapper(OrderSafetyCheckConvert.class);

    PageResult<OrderSafetyCheckTemplateRespVO> convertPag(PageResult<OrderSafetyCheckTemplateDO> page);

    List<OrderSafetyCheckTemplateRespVO> convertList(List<OrderSafetyCheckTemplateDO> list);
}
